package com.objetdirect.gwt.umldrawer.shared.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.objetdirect.gwt.umldrawer.shared.dto.DeveloperDto;

@RemoteServiceRelativePath("springGwtServices/developerService")
public interface DeveloperService extends RemoteService {
	public DeveloperDto findDeveloper(String developerId);

	public boolean signIn(String developerEmail, String password);
	
	public void saveDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus)
			throws Exception;

	public void updateDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus)
			throws Exception;

	public void deleteDeveloper(String developerEmail) throws Exception;

	public void saveOrUpdateDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus)
			throws Exception;
}
